﻿@{
    ViewBag.Title = "ImportReport";
}

@section scripts
{   
    <script src="@Url.Content("~/Scripts/shared/share.js")" type="text/javascript"></script> 
    <script src="@Url.Content("~/Scripts/shared/shown.js")" type="text/javascript"></script>
}
        @Html.Partial("~/Views/Modular/Tool.cshtml")
        <div class="mini-fit">
            <div id="datagrid1" class="mini-datagrid" style="width:100%;height:100%;" 
                    borderStyle="border:1;" url="GetImportReport" showPager="false"
                    allowCellSelect="true"  fitColumns="false">
                <div property="columns">
                    <div type="checkcolumn" >选行</div>
                    <div type="indexcolumn" width="40" headerAlign="center" >序号</div>
                    <div field="FRow" name="FRow" width="50" headeralign="center" allowsort="true">行</div>
                    <div field="FCol" name="FCol" width="50" headeralign="center" allowsort="true">列</div>
                    <div field="FMessage" name="FMessage" width="500" headeralign="center" allowsort="true">报告内容</div>
                </div>
            </div>
        </div>

<script>
    function FormShown() {
        mini.parse();
        LoadListData();
    }

    //加载资料列表
    function LoadListData() {
        var sSystemAppID = parent.window.getSystemAppID();
        var json = "[{";
        json = json + "'FSystemAppID':" + "'" + sSystemAppID + "'";
        json = json + "}]";
        var grid = mini.get("datagrid1");
        grid.load({ mjson: json });
    }

</script>